import unittest
""" 
@author: Gustavo Pereira
"""
from unittest import TestSuite
from commands_test.EchoCommandTest import EchoCommandTest
from commands_test.EqualFilesCommandTest import EqualFilesCommandTest
from commands_test.ExpectCommandTest import ExpectCommandTest
from commands_test.ExpectDifferentCommandTest import ExpectDifferentCommandTest
from commands_test.ExpectErrorCommandTest import ExpectErrorCommandTest
from commands_test.ContainsStringCommandTest import ContainsStringCommandTest
from commands_test.ExpectBetweenCommandTest import ExpectBetweenCommandTest
from pythoneasyaccept_test.ErrorMessagesTest import ErrorMessagesTest
from pythoneasyaccept_test.PythonEasyAcceptFacadeTest import PythonEasyAcceptFacadeTest
from pythoneasyaccept_test.PythonEasyAcceptFacadeTest2 import PythonEasyAcceptFacadeTest2
from pythoneasyaccept_test.PythonEasyAcceptFacadeTest3 import PythonEasyAcceptFacadeTest3
from pythoneasyaccept_test.PythonEasyAcceptFacadeTest4 import PythonEasyAcceptFacadeTest4
from gui_test.ConsolePanelTest import ConsolePanelTest
from gui_test.ChooseScriptsPanelTest import ChooseScriptsPanelTest
from gui_test.ChooseFacadePanelTest import ChooseFacadePanelTest
from gui_test.ScriptLinePanelTest import ScriptLinePanelTest
from gui_test.ScriptPreviewPanelTest import ScriptPreviewPanelTest
from script_test.ScriptTest import ScriptTest
from pythoneasyaccept_test.PythonEasyAcceptFacadeTest_ErrorMsgs import PythonEasyAcceptFacadeTest_ErrorMsgs
from pythoneasyaccept_test.WalkPathTest import WalkPathTest
from pythoneasyaccept_test.ObserverTest import ObserverTest

class AllTests(unittest.TestCase):

    def runSuite(self):
        suite = TestSuite()
        # commands
        suite.addTest(EchoCommandTest())
        suite.addTest(EqualFilesCommandTest())
        suite.addTest(ExpectCommandTest())
        suite.addTest(ExpectDifferentCommandTest())
        suite.addTest(ExpectErrorCommandTest())
        suite.addTest(ContainsStringCommandTest())
        suite.addTest(ExpectBetweenCommandTest())
        # facade and error messages
        suite.addTest(ErrorMessagesTest())
        suite.addTest(PythonEasyAcceptFacadeTest())
        suite.addTest(PythonEasyAcceptFacadeTest_ErrorMsgs())
        suite.AddTest(PythonEasyAcceptFacadeTest2())
        suite.AddTest(PythonEasyAcceptFacadeTest3())
        suite.AddTest(PythonEasyAcceptFacadeTest4())
        
        # script
        suite.addTest(ScriptTest())
        # gui tests
        suite.AddTest(ConsolePanelTest())
        suite.AddTest(ChooseScriptsPanelTest())
        suite.AddTest(ChooseFacadePanelTest())
        suite.AddTest(ScriptLinePanelTest())
        suite.AddTest(ScriptPreviewPanelTest())
        
        
        suite.AddTest(ObserverTest())
        suite.AddTest(WalkPathTest())
        
if __name__ == '__main__':
    unittest.main() 
        
